//
//  UIConstantColor.m
//  CoolJF
//
//  Created by Apple on 2017/2/16.
//  Copyright © 2017年 Ubi. All rights reserved.
//

#import "UIConstantColor.h"

@implementation UIConstantColor
+ (UIColor *)getThemeColor
{
    return ZBColorChangeRGB(0x157bf9, 1.0);
}
+ (UIColor *)getThemeColorWithApla:(CGFloat)apha
{
    return ZBColorChangeRGB(0x157bf9, apha);
}

+ (UIColor *)getDefaultSeperaterColor
{
    return ZBColorChangeRGB(0xd0d0d0, 1.0);
}
+ (UIColor *)getThemeNormalgaryColor
{
   return getConstantsParmColor(135, 135, 135, 255.0);
}
+ (UIColor *)getTabbarDefaultBackgroundColor
{
    return ZBColorChangeRGB(0xf9f9f9, 1.0);
}

+ (UIColor *)getDefaultBackgroundColor
{
    return ZBColorChangeRGB(0xf0f4f7, 1.0);;
}

#pragma mark - 导航
+ (UIColor *)getNaviRightButtonDisEnbleColor
{
    return ZBColorChangeRGB(0x999c9f, 1.0);
}
+ (UIColor *)getNaviRightButtonNormalColor
{
    return [UIColor blackColor];
}
+ (UIColor *)getDefaultNaviBackgroundColor
{
    return ZBColorChangeRGB(0xf1f1f1, 1.0);
}

UIColor *getConstantsParmColor(int r, int g, int b, int a){
    return [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a/255.0];
}
@end
